﻿using System;
using Jayden.Dll.Web.HtmlControls.Descriptions;
using Jayden.Dll.Web.HtmlControls.Generics;

namespace Jayden.Dll.Web.HtmlControls
{
	class Dl : HtmlElement
	{
		public Dl() : base(DlDescription.Instance) { }
	}
	public class DlDescription : HtmlElementDescription
	{
		public static readonly DlDescription Instance = new DlDescription();
		private DlDescription() : base("dl") { }
		public override Type ControlType { get { return typeof(Dl); } }
		public override bool IsFlowElement { get { return true; } }
		public override string Description { get { return "description list."; } }
	}
	class Dt : HtmlElement
	{
		public Dt() : base(DtDescription.Instance) { }
	}
	public class DtDescription : HtmlElementDescription
	{
		public static readonly DtDescription Instance = new DtDescription();
		private DtDescription() : base("dt") { }
		public override Type ControlType { get { return typeof(Dt); } }
		public override string Description { get { return "term or name."; } }
	}
	class Dd : HtmlElement
	{
		public Dd() : base(DdDescription.Instance) { }
	}
	public class DdDescription : HtmlElementDescription
	{
		public static readonly DdDescription Instance = new DdDescription();
		private DdDescription() : base("dd") { }
		public override Type ControlType { get { return typeof(Dd); } }
		public override string Description { get { return "description or value."; } }
	}
}
